package com.lhkj.ct.meta.modules.order.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Tolerate;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 量表订单
 * </p>
 *
 * @author jobob
 * @since 2024-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TblScaleOrder对象", description="量表订单")
@Builder
public class TblScaleOrder implements Serializable {

    @Tolerate
    public TblScaleOrder() {
    }

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "量表id")
    private String scaleId;

    @ApiModelProperty(value = "订单金额")
    private Integer amount;

    @ApiModelProperty(value = "支付时间")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "支付状态", notes = "0.未支付 1.已支付")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
